Skip to content

Instantly share code, notes, and snippets.

@RaduTek
RaduTek / Windows Embedded POSready 2009.txt
Last active August 28, 2026 06:07
Windows Embedded Standard Product Keys
WEPOS2009 Full keys:
KGRMV-TWG8H-43Y2K-7PJBC-PM4CB (Unknown, OEM)
XM633-9YG7Y-47JM6-4QMF8-XPKYG (Unknown, OEM)
XPT4M-RKVC9-4YQWT-JJP76-RBXD3 (Full)
WEPOS2009 Other keys (might be Evaluation, don't use):
KFF8R-TMHF4-GKT2P-KGDHH-FXPMB
D4GQ7-HG48K-7YP6R-6JM4C-33FMQ
@HeratPatel
HeratPatel / git-flow.md
Last active August 28, 2026 06:05
Git Flow: Git branches workflow for larger and continues releasing projects. #git #gitflow

Git Flow: A Successful Git branching model

Alt Text

Gitflow is a Git workflow design that was first published and made popular by Vincent Driessen at nvie. The Gitflow defines a strict branching model designed around the project release. This provides a robust framework for managing larger projects.

Gitflow is ideally suited for projects that have a scheduled release cycle. This workflow doesn’t add any new concepts or commands beyond what’s required for the Feature Branch Workflow. Instead, it assigns very specific roles to different branches and defines how and when they should interact. In addition to feature branches, it uses individual branches for preparing, maintaining, and recording releases. Of course, you also get to leverage all the benefits of the Feature Branch Workflow: pu

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@KehuiPang
KehuiPang / Fix-ClaudeDesktop.ps1
Last active August 28, 2026 05:53
Fix Claude Desktop on Windows (self-corrupting NeedsRemediation)
<#
.SYNOPSIS
Fixes Claude Desktop on Windows that keeps breaking with
"This app can't open" / silently quits on launch.
.DESCRIPTION
Newer Claude Desktop MSIX (Store) builds bundle vk_swiftshader.dll.
On machines that enforce Code Integrity, Windows blocks that DLL inside
the MSIX container (event 3033: "did not meet the Microsoft signing level
requirements"). That crashes the GPU process (0x060C201E), which makes
@throwaway96
throwaway96 / puttygen-webos.md
Last active August 28, 2026 05:47
Creating an SSH key with PuTTYgen for use on webOS TVs

How to Create an SSH Key for webOS with PuTTYgen

Introduction

This is a guide aimed at Windows users who want to set up public key SSH authentication for their webOS TVs. It is assumed that your TV is rooted.

This guide does not cover the Developer Mode SSH server on port 9922, although much of it still applies to that.

The SSH key that will be created can be used in applications such as PuTTY, WinSCP, and Filezilla. You'll be able to connect to your TV without having to type a password. You can even set the username in advance for one-click connections.

On other platforms (e.g., Linux), you're probably going to want to use ssh-keygen.

@throwaway96
throwaway96 / webos-notes.md
Last active August 28, 2026 05:46
Notes about webOS stuff

Debugging apps (inspect)

Inspectability

Developer mode apps (those installed in /media/developer) are inspectable by default. Other apps (e.g., from the LG Content Store) are not inspectable by default, but you can add "inspectable": true to their appinfo.json to enable it. Debugging system apps (i.e., those in /usr/palm/applications) may require a special flag.

Ports

The developer mode app debugger listens on port 9998.

System service and system app debugging uses ports 5885 and 9999, respectively. However, debugging for these is not normally enabled.

Inspecting an app

@throwaway96
throwaway96 / lg-hostdiag.md
Created November 2, 2023 22:17
Instructions on how to open the LG Host Diagnostics (HostDiag) screen

HostDiag

The Host Diagnostics (HostDiag) screen shows various system information. It has been present on LG TVs since long before webOS. While it generally isn't very useful, it could come in handy in certain situations.

Opening

In general, to open HostDiag you must highlight "Channel Tuning" in the menu and press the "1" button 5 times. The menu can be opened with the menu button on the remote, but the steps after that vary a bit across webOS versions. Note that

webOS 6

@throwaway96
throwaway96 / notes.md
Last active August 28, 2026 05:44
Enabling debug and getting root on LG webOS by modifying NVM

Warnings

What you do with this information is your own responsibility. If you brick your TV trying this, it's not my fault. You should probably have some electronics experience if you want to attempt this.

This is going to involve opening your TV and attaching wires to the pins of an integrated circuit. If you're not comfortable with that, this is not for you.

This document is a work in progress.

debugstatus

LG TVs since at least the era of NetCast and "Global Platform" (webOS predecessors) have had the notion of a debug level, generally called "debugstatus". There are three modes: DEBUG, EVENT, and RELEASE. TVs normally operate in RELEASE mode. DEBUG mode enables a variety of logging and other debugging features in webOS, including access to the bootloader console and debug menus via serial. EVENT is similar to DEBUG, although it may not enable as much logging and has other relatively minor differences.

@throwaway96
throwaway96 / winmerge-vswhere.md
Created March 26, 2024 01:13
WinMerge "Visual Studio not installed" error with "Disassemble IL Code" and "Disassemble Native Code"

Introduction

WinMerge's Compare As > Disassemble IL Code and Disassemble Native Code options appear to be almost completely undocumented, so when I came across the error message Visual Studio not installed I wasn't able to find any relevant information online. I'm hoping this document will help anyone who runs into the same problem in the future.

If you don't care about the explanation, you should be able to solve the problem by opening the Visual Studio "Developer Command Prompt" and running this:

mkdir "%APPDATA%\WinMerge\Commands\ildasm" "%APPDATA%\WinMerge\Commands\dumpbin"
where.exe ildasm.exe >"%APPDATA%\WinMerge\Commands\ildasm\ildasm.txt"
where.exe dumpbin.exe &gt;"%APPDATA%\WinMerge\Commands\dumpbin\dumpbinpath.txt"
@TheAngryByrd
TheAngryByrd / CyclomaticComplexity.fsx
Created January 8, 2025 13:52
CyclomaticComplexity.fsx
#r "nuget: FSharp.Compiler.Service, 43.8.300"
open FSharp.Compiler.Syntax
open FSharp.Compiler.SyntaxTrivia
open FSharp.Compiler.Xml
open FSharp.Compiler.CodeAnalysis
open System.IO
type Node =
{ Data : Data